import request from '@/utils/request'

// 查询自媒体图文数据统计列表
export function listWm_news_statistics(query) {
  return request({
    url: '/tot/wm_news_statistics/list',
    method: 'get',
    params: query
  })
}

// 查询自媒体图文数据统计详细
export function getWm_news_statistics(id) {
  return request({
    url: '/tot/wm_news_statistics/' + id,
    method: 'get'
  })
}

// 新增自媒体图文数据统计
export function addWm_news_statistics(data) {
  return request({
    url: '/tot/wm_news_statistics',
    method: 'post',
    data: data
  })
}

// 修改自媒体图文数据统计
export function updateWm_news_statistics(data) {
  return request({
    url: '/tot/wm_news_statistics',
    method: 'put',
    data: data
  })
}

// 删除自媒体图文数据统计
export function delWm_news_statistics(id) {
  return request({
    url: '/tot/wm_news_statistics/' + id,
    method: 'delete'
  })
}
